package io.gitee.hejiang.action;

import java.sql.Connection;
import java.util.Map;

import com.fasterxml.jackson.databind.JavaType;

import io.swagger.inflector.models.RequestContext;

public interface SwaggerSqlAction {
	void init(Map<String, Object> config, Map<String, JavaType> argumentTypes, SwaggerSqlAction next) throws Exception;

	Object execute(RequestContext request, Connection connection, Map<String, Object> arguments,
			Map<String, Object> context) throws Exception;
}
